import 'package:get/get.dart';
import 'package:seedfour/app/routes/app_routes.dart';
import 'package:seedfour/app/views/web_screen/screen_params.dart';

class LegalSearchLogic extends GetxController {
  void onClickWeike() {
    Get.toNamed(RouteGet.webScreen,
        arguments: WebScreenParams(
          url:
              'https://api.seedfour.com/cmsapi/api/v1/clicms/legalsearch/wkinfo?client=mobile',
        ));
  }

  void onClickYuandian() {
    Get.toNamed(RouteGet.webScreen,
        arguments: WebScreenParams(
          url:
              'https://api.seedfour.com/cmsapi/api/v1/clicms/legalsearch/wkinfo?client=yuandian',
        ));
  }
}
